package com.pairuan.front;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 前端API启动类
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.pairuan"})
@MapperScan(basePackages = {"com.pairuan.service.mapper"})
public class FrontApplication {

    public static void main(String[] args) {
        SpringApplication.run(FrontApplication.class, args);
    }
} 